]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
style: Fix focused app view controls
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 5 Jul 2013 23:35:58 +0000 (01:35 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 9 Jul 2013 20:06:13 +0000 (22:06 +0200)
Moving from fixed width to horizontal padding for the app view control
buttons broke the focus style, in that buttons may change size on
keyboard focus changes. Fix this by using the correct horizontal padding
when focused.

https://bugzilla.gnome.org/show_bug.cgi?id=703807

data/theme/gnome-shell.css

index 765894ae45a9f25d9c9007423b728a7b163dc397..a2278c5fa40c505ee738fd3d1d4c04bdb4904242 100644 (file)
@@ -327,10 +327,6 @@ StScrollBar StButton#vhandle:active {
     border-width: 2px;
 }
 
-.app-view-control:focus {
-    padding: 3px;
-}
-
 .app-view-control:first-child:ltr:focus,
 .app-view-control:last-child:rtl:focus {
     border-right-width: 1px;
@@ -911,6 +907,11 @@ StScrollBar StButton#vhandle:active {
     padding: 4px 32px;
 }
 
+.app-view-control:focus {
+    padding: 3px 31px;
+}
+
+
 .search-display > StBoxLayout,
 .all-apps > StBoxLayout,
 .frequent-apps > StBoxLayout {